home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 1998 January / PC Answers Issue 49 Cover CD January 1998.iso / Apps / Director / DATA.Z / Synchronized Media.dir / Scripts_22_on cuePassed Script.ls < prev    next >
Encoding:
Text File  |  1997-05-10  |  605 b   |  20 lines

  1. on CuePassed channelID, cueNumber, cueName
  2.   if (the frame > label("Animation Start")) and (the frame < label("Subtitles")) then
  3.     if cueNumber = 2 then
  4.       go("Animate Mary had a little lamb")
  5.     end if
  6.     if cueName = "It's fleece was white as snow" then
  7.       go("Animate It's fleece was white as snow")
  8.     end if
  9.     if cueName = "And everywhere that Mary went" then
  10.       go("Animate" && cueName)
  11.     end if
  12.     if cueNumber = 5 then
  13.       go("Animate" && getAt(the cuePointNames of member "Mary.aif", 5))
  14.     end if
  15.     if cueName = "End" then
  16.       go("Animate End")
  17.     end if
  18.   end if
  19. end
  20.